Tighten up equality checks in tests
Merge pull request #77 from steveblock/tests

Tighten up equality checks in tests