Add option to debug tests