Adding tests regarding lookup priorities