test tr generator