fixed cpymarshaltest - make sure right overload of PtrToStructure is called