Updated dashboard.ejs and fixed tests