add q argument to test