Testing the Internet of Things