How to debug with Finance::Quotes

After creating or editing any of the Finance::Quotes modules you need to test them. To test, open a terminal window and do the following to check if the module gives any errors
$ cd /usr/share/perl5/Finance/Quote <enter>
$ sudo cp ~/ . <enter>
$ cd ~ <enter>
$ gnc-fq-check <enter>

If above command returns any errors, then modify the to fix them, else, if it returns the list of modules, check if it includes mumbaistock. If so, then you are good to move further below.
$ gnc-fq-dump mumbaistock 560010 <enter>

This will print the stock quote.