further implementation of remove()
test improvements; partial tests of remove()