update complex command test, add multi command test & fixes