- further modification for empty test dir