additional slice test
added fromListGenerator constructor