     assert [%GenBle.Controller{id: c_id, name: name, powered: true}] = GenBle.controllers(ble)
   end
 
-  test "events are stored until the first BLE consummer appears",  %{controller: controller}  do
+  test "events are stored until the first BLE consummer appears",  %{controller: controller} do
     script = script_as_list("test/bluetoothd_script_1.txt")
     commands = parse_and_filter_commands(script)
     bluez_start = Enum.at(commands, 0)

    |> Enum.each(fn input -> send(controller, {:port, {:data, input}}) end)

    # start BLE
    {:ok, ble} = GenBle.start_link(controller)

    # get Infos about controllers
    assert [%GenBle.Controller{id: ^c_id, name: ^name, powered: true}] = GenBle.controllers(ble)
  end
end

defmodule Bluetooth.Test.Ctl do

  use ExUnit.Case
  @moduletag capture_log: false

  alias Bluetooth.Ctl
  alias Bluetooth.GenBle
