add unit test for file not found exception.