Various fixes for details page
Correct dashboard tests