BT has been told to test emergency alarms for the elderly after the digital landline switchover sparked safety fears.