Writing diagnostic test pdf