The compiler should be refactored to use the new language features. That should provide a more than adequate unit test.