test: Add some debug logging

Signed-off-by: Lewis Marshall <lewis@lmars.net>