Fix syntax error in test file. Fix typo in rt._typeOf