fixed strongly typed query tests