Add test exit status check
Add an abitrary void* for a somewhat dirty hack.