Finished the test system and a test for the model.