update-ref: add test cases covering --stdin signature