test masks within masks