how about we pass the enpoint?
adding tests