Converts the example into a test