This test checks for correct properties of generated and used targets.