Added status information to external read-directory function
* updated test transformation accordingly