This test is meant to verify the deployment mode of "include the jars", so the enabling the modules system is defeating the point.