Added more tests for atan for issue 7246