export test as pdf and csv fixed