Add initial tests
Merge pull request #49 from jho406/jh-develop/tests

Add initial tests, is_valid returns boolean