added basic mock for localStorage