modified ServerResponse TestCase