Clean up generated code. Re-worked and re-enabled the test for a missing RMS config.