Fixed 1.9 tests compatibility