Make return value tests explicit.

This is because libmagic between versions seems to return different things ..?

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