* enable lint unnecessary_new * fix tests * fix tests * fix tests
* Rename test file * Fix detection to work regardless of whether there are other devices On Windows we get one message, but on Mac we get another (because of the Simulator always being available).