tests for sin,cos