Added funcational tests for store controller