working on unit test for planners api rest