add the test for test_cast_server.js