Unit tests for binder