adding test for knot positioning and fixing crashing error