add some negative tests for device extraction