Removed extra function body declaration for test environment