added test xmlopt to see if serial r works as expected