Set the offline test flag properly