Added tests for Path Builder (also fixes the build)