Add tests for add_process_handler/2