delete test files and unused functions