created a test to check if pill regimen service is being called correctly