Weapons detection system put to test at a Buffalo school