fix observer tests