(test) Add tests for toggleView in ProfileCtrl.
(test) Add as much testing as currently possible for ProfileCtrl.
Merge pull request #105 from adam-back/test/CardCtrl

(test) Add tests for ProfileCtrl.