Widget: Add tests for classes option setting