badquant tests