add a test for undefined that also needs to unwrap the observable