Add tests for remove_bootloader