Update Observer.php test

Making error in Observer.php