Add TxtLogger and infrastructure tests