add mongo state to scala test topology