finished typing up debug tests