adding two new testcases for loc='best'