written initial tests for dashboard