Fixed getHandle test on HHVM.