Adding test for errors in module analysis.