Add test_models.py. Fix some exception error types.

- Add 2 new tests for Break and WorkShift models.