Add some tests for git update-ref -d