Fix typo.
Improve test logs when there is a failure.
Add localStorage support.