Tests for the first version of isRecursive.