improved test with warmup, two separate endpoints for testing