refactored some code jesees wrote by changing integration tests to unit tests and inject dependencies for controller I had not thought of before instead of binding via methods; updated controller and associated tests