test and rdoc
add teardown to remove test files