Adding a unit test for panel controllers
Adding some more tests to panel controller