checkout: add test demonstrating regression with checkout -b on initial commit