converted setitem test to use generics
Added return checks
Added generics for delitem tests