added test & code for docking station