LPS-51439 Extract test.class and test.dir as attribute