Testing externally defined functions