Add support for build pack branches
Fix test case to support proper URIs