tests for dry run mode