Removed deprecated functionality from test case