sim: add bootstrap test

Add caps for bootstrap option and implement simple bootstrap test
for the simulator.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
diff --git a/sim/tests/core.rs b/sim/tests/core.rs
index c65ead2..4e2d9c1 100644
--- a/sim/tests/core.rs
+++ b/sim/tests/core.rs
@@ -48,6 +48,7 @@
 
 sim_test!(bad_secondary_slot, make_bad_secondary_slot_image(), run_signfail_upgrade());
 sim_test!(secondary_trailer_leftover, make_erased_secondary_image(), run_secondary_leftover_trailer());
+sim_test!(bootstrap, make_bootstrap_image(), run_bootstrap());
 sim_test!(norevert_newimage, make_no_upgrade_image(&NO_DEPS), run_norevert_newimage());
 sim_test!(basic_revert, make_image(&NO_DEPS, true), run_basic_revert());
 sim_test!(revert_with_fails, make_image(&NO_DEPS, false), run_revert_with_fails());