store tests updated to mocha