added tests for surveys serialization