Add Tests

Adds tests. Increases test coverage from 30% to 70% :smile_cat: 
Same comments as on other tests that are expected to throw.