Added more tests and support to unary operators