Serverside: Adding terminal based teseting code.