Added the function and test to list languages for a repository