python test running

fix bugs in history
time_stamp -> timestamp