fixed dashboard unit test