add thread test for SQL SubjectsRepository