Refactor/structure

Refactor tests out into modules for a module, a dashboard and by module types