test by console