Added improved test pattern that reads specifics from yaml file