add new test, combining line and loop in the same path