Fixed equals for testing