Add test mode, update README.