updated unary operators and added a few more tests from my personal queue
cleaned function definitions and their parameters