add test for nshade length