Set device
Fix for new test runner
Update for new gems