fixed typo, one test, and removed old files