add tests for Python broadcast

Add tests for Python Broadcast (bytes and range)
Ah, it looks like we never had any code that used the `doHash = true` case.