How to make an InstalledBuild with Test packaging feature?

Gotcha.

The configuration is in InstalledEngineBuild.xml. There is a line like this:

<Option Name="GameConfigurations" DefaultValue="DebugGame;Development;Shipping" Description="Which game configurations to include for packaged applications"/>

Add your favorite configuration inside DefaultValue.