Add more unittests for objects module