some tests for survey utils