Testing API via python requetsts module