Cheap unit tests

I know it's cheap but they were on the list of tests to implement and they seemed like really low hanging fruit so I went for them.