added functional test for store controller
fixed typo