To setup test environment you should use testnet.js
script.
cd smart-exchange
npm install
# to start private chain, create new namereg and update config.json
node testnet.js --deploy
# or just to start private chain
node testnet.js
./testnet_data
is directory used to store private blockchain