use cookie store in test environment