running tests during cmd build