Fix test files: use @test, remove optional/required.