test_windowlayer: Fix np array type