Functions to test/check object