tests for grep_to_livestatus