how to test EDFA