Add Tests

Adds tests. Increases test coverage from 30% to 70% :smile_cat: 
Why not check for `null` and not empty for this and the following property?