corrected testing errors for .remove