Fixed path issues and added more tests to HTML string conversion

For issue #37