fix addPrefix() test