Added tests for StatPanel