Add spec for localStorage
Add specs for online/offline behavior