add test for observer clean