Add more commonprefix() testcases