adapt regexp test because new one is better than old one