wrote tests for class methods, emptiness, flatten and flatmap, and some slices
finish up slice tests and fixes