Add more test for the MagicError type.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>