minor clean up
adds _.endsWith condition to detectDestType function. moves helper test fixtures, adds some code comments for the test targets in the Gruntfile.