Fixed an issue with Makefile.test failing on no error

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>