Test failure cases deleting branch and tag, and reset with no HEAD