observer test not passing but working