fix cache store tests - to_i