ported testcases to use buildDashboard function