Fix test with q