Starting to add test to check correct state changes based on authentication.