fix ResourceSet setitem and getitem problems and tests (#9)