data generator for errors tab with broked and error testcases
defects.json generator
added tests for defects provider
fixed rule for tests
megred with master