Fix pull request #1961: add more hasExceptionTraps checks

Small fixup for pull #1961: #1961 introduced a way to check if a FPU supports
exception trapping. This test should be called from some more unit tests.