Avoid unnecessary tests