added test for increment return type