Add logging; remove destructive command in test.sh