added case 2a 2b test, left case 1 and 3