bumped when.js dep to 2.7
Fix failing test cases for uri
 should be