modified STORES function to return array of stores
modified tests to support this change
Modified the STORES to return an associative array
Modified tests to work with this change