fixed bug with first-line comments, added comments to test file