fix destructor of SimpleStore
add command line option
add time for test