‘Terror cell bugged’ court hears