Adds mockWidgets and mockTheme helpers on abstract case class, gets rid of global mock injection.