Add os handling for processes test