Porting over tests for sync states and HashMapType and StringType.