Updated tests, stripping the 'refs/heads' prefix from the branch name listing.