tests for ResultSet