Remove test files
Implement features for #141.