[Madalin, Andrei] removed redundant test