removed debug from destructor and destructor itself
renamed "test" directory to "tests" to avoid conflicting with the makefile target, also fixed unaccounted cases in the initial test