fix the position of capitalize! and downcast!, and add test for upcase!