Add test for few functions in pin.utils.
Fix a bug with media files which didn's displayed with development
server.