Better tests for rational class