Formatted test code