using strongly types document query test