append test code for model builder.