Improved console model for testing