Add tests for isSame()

Add tests for isSame() #127