Combined hash code test into a single class. Added messages to the
assertions.