Add option to specify tests output folder. Fix simulator references.