Using Test mode enables LiveWindow mode on the SmartDashboard. It removes the SmartDashboard widgets and shows the LiveWindow widgets. RobotBuilder will automatically add the required LiveWindow calls, but if you aren't using RobotBuilder, you'll need to add the LiveWindows calls yourself.
See
http://wpilib.screenstepslive.com/s/...sing-test-mode