Added more debug in tests