[CDE-309] - Changed parameter declaration in generated dashboards. Added unit tests