[Console] added TextCommand unit test