Fixed XML reporting from tests
started translating junit tests to R