Running seperate test processes in subshell to prevent environment pollution