Fix the mobile testing code that broke desktop