How to cook a plugin with only test blueprints and level based on build configuration

Hi, I was wondering if you could help me figure out how to make sure a plugin is always cooked for some builds but not for, lets say shipping. So far I have tried using the EnablePlugins list in the Build.cs file but that doesn’t add the test. The test is only added when I include it in the “always include these levels” list in the Packaging settings but that kind of defeats the purpose of being able to switch based on build configuration.