Implemented sending song list to middleman and also made a test function to test it