added test
fixed post increment