Add more test case for #demodulize, Improve documentation