Fixed an issue with observer mock comparing notification names incorrectly.