Added location test in ship test