added tests for runtime