Production testing of RF and system-on-a-chip devices for wireless communications