Finished branch checkout and commit and added tests