updated tests; application parser: parseModule method separated into smaller methods