teste classes observer