Refactoring Tests

also removed old DebugLevel.php
Refactoring Tests