Use getHeadRev as an additional test of head() method

Still unclear what is wrong with the WorkingArea.head() method, since
it uses the same basic revParse mechanism as getHeadRev().
Merge branch 'master-add-deprecated-push-test' into master-work