converted regex tests