Moved loop and conditional sentence to Sentence Node, loop unit test