test scope overlap