fix(engine-rest): use temporary folder rule in unit tests

related to CAM-1732