Changed txt test to pdf test