added test for remove()