Fixed bugg in delete that raised Empty if an element in the top list was an empty list.
Added spec for delete.