Add test case for transient registered observers.
Fix transients getting applied at the wrong level.