wip: rest of preliminary test file for dashboard_data.py, contains comments on needed tests
wip: pep8 fixes and some pylint