improved unit test for remove, thanks to Austin++