Made winelib tests better.

1. Now confirm (hopefully) that everything is executing correctly at a
non-trivial way.  Test is allocated in the heap, and functions return
members.