replace UIHandler with NewUIHandler
implement testPostAfterRemove