You can get all kinds of alarms some are battery operated, which you can move round the house and others plug in. There is a site, Safelincs, which sell a huge range of them.
Buying an alarm that is faulty is not that probable, and if it were you can get it exchanged. It is the same with any...