moved debug and test command