Updated tests to use .name and remove references to .id in api on server