fixed shadow tests