Add wire packing test for CreateWindow