Update cowboy. Fix port in test case.