Modify a resource test to check used state