adjust test code for go-winapi