fixed obj-tests by adding type annotations to global objects. lame, should infer.