Test .local() and .session() methods.