tests: move convenience regexp to match object names to test-lib.sh Signed-off-by: Junio C Hamano <gitster@pobox.com>