Change the check for NSObject so we don't use a non-checked string.
Added tests to check for observation stop on target dealloc with nil observer.