Added a test for removing of the non empty group