added insert and remove id methods with tests