Fix tests for purchase request repo (ability to retrieve purchase requests)