add command test, fix rebuild_bloom, use C++11