passes undock test, written a dock test