Add test to make sure it inits WM Shell controllers properly

Removes redundant codes and tests init functions for each controller in
WMShell class.

Bug: 161116823
Bug: 161118569
Test: atest WMShellTest
Change-Id: Ie03c060a5741baed74c0880677c5656a6b1d4c4a
2 files changed