Improvements to tests and fixes to ios-driver and feature detects