Refactored and improved create_freestyle functional tests