Test that data is persisted to the session