added tests and content provider