develop test of API