VX(Li): Fix the unit tests and add the test coverage for the astar