added routes tests for public api