tests: move convenience regexp to match object names to test-lib.sh