minor fixes and cleanup for test262 support