fixing up exception
adding first tests for observer