resolving compilation errors in survey integration test