capitalize first character of string, fix tests