expand equals compareTo tests