I am having Macbook Retina(13 inches). How can I check whether laptop's fan is working or not?
There are a few apps that are available to use as Fan Utilities - they will show you current speed, as well as allow you to enable the fans to full blast.
Here's one I have used previously:
Personally I'm using iStat Menus:
12 Alternatives to Macs Fan Control :