Fix the condition in the tests at the end of the install script.

@danielsdeleo 

I think we need to rebuild since these tests are packaged with the artifacts during build. Am I remembering it right?