Fixed another async test not working properly

Also throwing an Error rather than string. Odd that the test "worked"
but not really. Heisenbug!