Fixed remove

The test completes succesfully now.