test scope initialization