Refactoring API unit tests including Autofixture for data generation.