Update test and complete xmlunittest methods.