adds tests for the store controller