testWFG

Now the test file is suiteble for unit testing, as was suggested by
Mario some time ago.