add test that includes creating a dashboard
add test for getting a widget
extract method