Added tests for binary creation