added list test for invalid types being added.