console write test