We do not need to run all tests for both yaml and json configs of one
samples since we have a separate check that pair of configs has same
content.
Also, this patch removes code duplication and fixes check of sla
section.
Change-Id: I74b37043389927eea95cb1129adf811b62645f70