Fixes for tests to make them work when travis will update to hhvm 3.0 tomorrow