You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: query_methods_test.rb
    path of file: ./repos/ahoy/test/support
    
    the code of the file until where you have to start completion: module QueryMethodsTest
  def setup
    model.delete_all
  end

  def test_empty
    assert_equal 0, count_events({})
  end

  def test_string
    create_event value: "world"
    assert_equal 1, count_events(va
    
  def test_scopes
    model.create!(name: "Test 1", properties: {value: "hello"})
    model.create!(name: "Test 1", properties: {value: "world"})
    model.create!(name: "Test 2", properties: {value: "hello"})

    assert_equal 2, model.where_props(value: "hello").count
    assert_equal 1, model.where(name: "Test 1").where_props(value: "hello").count
    assert_equal 1, model.where_props(value: "hello").where(name: "Test 1").count

    if group_supported?
      assert_equal({"hello" => 1, "world" => 1}, model.where(name: "Test 1").group_prop(:value).count)
      assert_equal({"hello" => 1, "world" => 1}, model.where_event("Test 1").group_prop(:value).count)
    end