RawLogger: fixed test and Makefile

The Makefile has now been provided with a target to enable
debugging options, without modifying manually debug.h, and
the debug and assert macros of the testing module have been
modified.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>