Tests for module parser.