Move utility functions from tests to util.js
Make format parsing optional for extractMarkedComments
Extract the code for each format into its own module