Fix small bug in test_bm
Remove cliff dependency
Use makedirs instead of mkdir