add test command, closes #2