test that remove removes and add adds