b85449 Add unit tests for view commit in case the branch name is wrong

Authored and Committed by Vivek Anand 8 years ago
    Add unit tests for view commit in case the branch name is wrong