add test tools: crop with and without direct.