test: code adjustment so all test pass with hhvm 3.0.1