Fixing issue #1336
Modify test case value

The bugfix #1336 made this test case fails, but, as far I know, the
value for tan( 270deg ) is an absolute Infinity, so I modify the test
case to fit my fix.