Fix assert_is_object call in test_refresh
Fix assert_is_object in test_save_all