finished case 2 tests