Add test for multiple q values.