Tests: Add basic tests

Also rename to IsEquivalentTo().