Fixed modules test by adding linking step with a dummy main