clean up the testing tmp directory.
add pytest configuration.