Added bases test and relationship between branches and bases