strange Breadboard test working main project not

Without the schematic or diagram of connections, I don't see how we could help you?

You're post is a bit unclear, but it sounds like you've had it working with uno, but are having unexpected behavior with some hardware. So that's what you need to post info on.