Updated test to be less fragile. Made command-line example more clear.