Acceptance test for Q in JS