add tests for Python broadcast

Add tests for Python Broadcast (bytes and range)