Add testcase on condition around packages.