add new tests

tests subtraction, cos, factorial.