Refact observers tests