Essays On Testing Conditional Independence