Added code and tests for docking station