   alias SMPPEX.Pdu
 
   test "store" do
-    {:ok, storage} = PduStorage.start
+    {:ok, storage} = PduStorage.start_link
     pdu1 = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id1", "pass1") | sequence_number: 123}
     pdu2 = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id2", "pass2") | sequence_number: 123}
 

  end

  test "fetch" do
    {:ok, storage} = PduStorage.start
    pdu = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id", "pass") | sequence_number: 123}

    assert true == PduStorage.store(storage, pdu, 321)

  end

  test "expire" do
    {:ok, storage} = PduStorage.start_link
    pdu1 = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id1", "pass") | sequence_number: 123}
    pdu2 = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id2", "pass") | sequence_number: 124}

