Fix formatting issues

Updated spaces after comma.
Removed stray variable declaration in `test_tan`