add switch/case, add inc and dec-operator, update doc and tests