making functional test for store controller