If the /etc/maxscale.modules.d/ didn't exist or wasn't accessable by the current user, the test would fail.