Add checks similar to those found in before-nrtest.sh. Return status so that CI registers failures properly