Fixed transitions, added a unit test, and fixed IsolatedStorageFile static var