added tests for defects provider