provider model test cases written