API tests - typo fixed: Q->q