refactor the process setter
add logging tests (1 for now)