The New York Police Department is testing a new device that can detect firearms concealed beneath layers of clothing.