New options for test and a sh script for testing.