added test for HDUtils.formatPath and changed HDUtils.parsePath to handle paths that start with the letter M