Added unit tests for homectrl & dropmenuctrl.