avoid using 1.9+ syntax in tests