handle synapseStore flag and test_synapseStore_flag