fixed issues from Andriy, written tests for equals in 1.1