Added Unit Tests for Repository and Home Controller.

Removed a few unused usings.