refactoring for playlist info view

and added test for checking memory leak