Bug 1114640: Create a new test case for the rating feature of the Music App

This comment is really useful to understand how this function does the job. I would put it as a pydoc.