Changes to build.ps1 so it runs pester tests and returns greater than 0 on failure.