Add server port listening and enable mongo tests