Added osme tests + bug fixes + groups.
Added a few tests + cleaned up some existing ones.
Added more tests.
Added more tests.
Added more tests.
Merge pull request #29 from chrispitt/add-some-tests

Added some tests + bug fixes + groups.