Add more unit tests for Model

For now these are not very extensive tests of the functionality, but
they can easily be expanded whenever an issue is discovered.
Make initial_conditions a dict attribute

For more consistency with other properties that are exposed via
attributes rather than accessor methods.
Make some tests in test_madx more explicit