def METHOD_NAME():
    p = Play.load(dict(
        name="test play",
        hosts=['foo'],
        gather_facts=False,
        pre_tasks=[dict(action='shell echo "hello world"')],
    ))
    assert len(p.pre_tasks) >= 1
    assert isinstance(p.pre_tasks[0], Block)
    assert p.pre_tasks[0].has_tasks() is True
    assert len(p.get_tasks()) >= 1
    assert isinstance(p.get_tasks()[0][0], Task)
    assert p.get_tasks()[0][0].action == 'shell'