test online state