added networking to alarm test