tests: fix error messages, use Fatalf