Add functional test for store controller.