move the styles into js rather than in test file