[CF-345] Fixed scalatra test which is having port issue