tests/module-loading/shared-test.sh:  fix error output

fixup for e43c980 and #89

The error output of the test doesn't match the actual comparison that
triggered the error.