Adding some debug to tests