More unit tests

The PR fixes one broken test, and adds a few more simple tests of the basic models.

The interfaces are being exercised now as well.