tests: add debug target to simplify gdb debugging.

`make debug' will now drop you into gdb with the unit tests loaded.
simply `r' to start running, `bt' to get a stack trace.