Added Functional tests to store controller