can we change these to utilize a spy to check that the correct URI is being called?