Add test for ResultSet