fixed test, char * = read only, [] = stack