removed commented/deprecated code
refactored sets to lists for expected output of tests
added test and implementation for all unary types