added tests for api: repo,user,star,tool