make test mode binary