add functional tests for the store controller