Added test for class comparison (equal/not equal)