removing debug module and adding test file