add console test each function.