[tests] added test for fixing through regular expressions