Use better LOOP syntax.
Use DEFINE-FOREIGN-CONVERTER to check for foreign return codes.
Refactored test suite

- Use convenient macros to run operations and bind their results.
- Added more testing for conflicts on OS X Mavericks.