Update test framework with queries for error, keys and unnest.