Caught and fixed bug in PlanitAPI tests. Long live testing