Added tests for panel directive