Fixing HTML Import test code