Test function body