Fix HHVM crashing on unit-tests