updated the test script for kpsewhich functionality