add test for create shadow