A few negative testcases and changes required to make them work.