additional tests and functionality in ship class