tests: fixed test regex