update vendors and add more unit tests on model