Design and Testing of Kinetic Inductance Detectors Made of Titanium Nitride