clean up testing scripts and unit test