add courseLibrary and some model test cases