corrected a test problem with console log.