Adding tests for local storage of user and session data