add test for critical path