thread unsafe unit tests added

todo: need to figure out how does DEATH-TEST work for GTEST