adds method .remove(key)
adds test cases for remove();