Failing coroutine test-case

I've added a test-case, which should pass, but instead results in an exception being thrown.

Sorry about the indentation, I cannot make it look right here on github, it seems fine on my end.

The issue seems to be stack-corruption or whatever, whenever a coroutines calls a c# function.