Cleanup.
ffi: Update tests for latest API.
Add test for accessing variables (errno).