Fixed path issues and added more tests to HTML string conversion