tests: fixing tests for HHVM [WIP]