fix format for broadcast
update 83% unittest code coverage for models.py