fix survey testcases for travis error