Added test for external files