[FEATURE] Add some basic unit tests.

Also add a BadMethodCallException if emogrify is called with empty HTML.