Add tests
Add expected outcome from test runs
Merge pull request #2 from RobLoach/tests

Add tests