When writing tests for a Stencil application, I found debugging tests a challenge, but possible. Here are some tips.