added tests for store controller