Add unittest coverage of init command error handling
Add unittest coverage of init command error handling

Signed-off-by: Esben Haabendal <da90c138e4a9573086862393cde34fa33d74f6e5@haabendal.dk>

esben/xd-tool,esben/xd-tool,XD-embedded/xd-tool,XD-embedded/xd-tool