Add unit test for bootstrap_monitor process.