test classes for equals ignore case