add tests for binary suppport