[Debug] fixed unit tests