Let test snippets properly fail

Signed-off-by: Michal Čihař <michal@cihar.com>