[#76] added account observer and modified tests