Adding tail node tests
Merge pull request #324 from zobalogh/tail-test

Adding tail node tests