Fixed test: test_remove_resource