BS-8604: write non-regression test if a bar contains empty jars