Add functional test for store controller.
Merge pull request #6 from christiandietze/functional-controller-tests

Add functional test for store controller.