fixing broken tests, transferring fix for RavenDB-2509 from 3.0