added extension and file read test