updated logic for tests with a predict phase
pass arguments from test straight into cloud building (rather than thru another object)