testing api, fixed bugs
easily change test url