Test structure for a REST API with NodeJS