All I did was move this test to the end of the file.