Adding tests

Merge to master it should merge cleanly. Pull it down and make em pass. Not much but its just making it more proper is all. I will add some integration tests tomorrow and I may add some stuff only allowing signed in users to make stuff just to throw in a devise thing as well.