test for querying transformer