core: add test for removing box version [GH-3364]

/cc @berendt - Added a test