test: Add a whole bunch of debug statements

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>