test object setting