Tests for checkForIntercept