Adding loop parser and test.