added missing unit tests for store ctrl