Testing wearable IoT applications through sensor virtualization