fix build issues
Fixed three build issues: one PEP8 and two small errors in the tests.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Fixed three build issues: one PEP8 and two small errors in the tests.