Testing just using a try catch instead of checking device id