Add spec tests
Merge pull request #10 from anders-larsson/add_spec_tests

Add spec tests