functional tests for store controller