Test case for removing values