added horizontal/vertical tests and functionality to ship class