Added a Test-Command function to the build script.