added tests for surveys json deserialization