Fix promotion issues in iOS unit tests
Add test case for releasing observers
Fix iOS unit tests failing to run entirely