remove useless check before test executed