test for Observable class