Add refresh command tests