Basic tests for void, regular & nested elements.
Example image(null) element demonstrating the bug.
Adding rake for running build in travis.
Merge pull request #4 from kunday/master

Added some simple tests.