Added test for Observation function