Add tests for invalid qual file