Finished unit tests for localStorage feature.