added test currentDocument has 'file' property.

when running grunt, todo extension occured an error on ParseUtils.js.

Message: Uncaught TypeError: Cannot read property 'fullPath' of undefined 
on: ParseUtils.js:28