Add unit test for TargetDisplay, and make first drag work.

Part of issue #36.