changed order of tests to allow stdout to display when installing