char array manipulation test