cached testIfTestDevice