Tests for removing values