Unittest for globject