added console test program