added test command to program