Added tests for binary sequence comparison