Tests for enum handling in RavenDB 2.5.