Fixing testcases.
Remove broken testcase.

This requires further investigation how to mock the runtime.