tests for tan