Fix html-object

Tests are classmapped, so will fail when folder doesn't exist.