Integration tests working although app instantation in test needs a proper async work around