Detect useless branches + refactor optimze tests