add console in spec