Add more tests for the func_obj model