remove debug and update test