Avoid redundant tests