fixed theme selection in tests