Test case for Fortran error methods
Throwing errors in Fortran should be tested as well. Do this fter the simple test cases are merged, since they modify the test structure and the feature tests can be used as a template for creating the CMakeLists.txt for the Fortran tests.