Adding test to check that exception is thrown on file not found