created tests for ApiConstructor module