add phy test logic.