Add test setup to SL5/6 build directives