collapser_test leaves head.db in root dir