Refactoring: getting rid of old 'test3' regexp for tests lookup