added functional tests for Store controller