pass arguments to main
clean up class files in tests/