Test empty colour palette

Small refactor to move dummyTheme into the beforeEach method.

If the theme has no colour palette, the series colours are left as
undefined without crashing. This is acceptable for now.