add supertest/mocha test, move port value to configs