revwalk: add a test for pushing all references

This used to be broken, let's make sure we don't break this use-case.