Changed DEBUG Tests into unittests. Pfff.