avoid 1.9+ syntax in tests