tests debugged