make getTachyonStore() synchronized and fix a bug in test