test ret statement