tests for parsing and removing items from the list