This reverts commit ab3b8985 but disables the new test if the user has disabled support for building it.