Replace absolute numbers with regexes in test