add functiional test for store