(#7) Add additional coverage to device.rb