read from console test