Replace test strings with constants