Fixed Makefile ignoring error on tests