Test cases and insert code refactored