Write a console test