made JUnit test for insert and delete to repository in multithread environment