Add test for shadow option