format test example code