Add test cases for basic critical path computation

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>