Add stubs in test_framework.js