Put tests in to verify data sent into localStorage.