Modified server file to remove test function call