Restructure debug level tests