Updating nodeunit tests and corrected computHash sequence