Improve the test coverage of services, controllers

Added more tests for services and controllers
Newline before this line.

By rule, we split up segments. Var declarations and code execution are always separated with newlines. Same goed with return statements; which always have a newline in front of them.