Added test query and real local acid state