add functional test for store controller