Yeah my contract worked all fine but it was a problem with gas limit! Thanks for the help!
I had set my geth test rpc well below the gas estimate, explains why my test were not working now. I didnt give enough gas on the transaction and set the geth limit too low. Did I miss something on the transaction receipt? if I checked the values in that it should showed no gas was used