fixing test cases when running on jenkins due to port binding issue