Implement shared storage tests and fix rails cache backend