add tests for patients controller