Had to pass a named argument (start = CoroutineStart.UNDISPATCHED) to the promise function in order to get the test to run, however the test gets stuck at line 5 with the await function. A instance of the Web Browser opens but does nothing else apart from that.