able read file and writing test cases