add test cases and documents to the model-driver codes