fixed tests by using dom converter