Add tests for ResultSet.