Added tests for `cos` and `tan`

Updated the function definition of `eval` so that it handles
the conjugate sign in the function itself rather than expecting
the caller to do.
Added tests for `cos` and `tan` to check consistency of eval