Adds check for rtstubs

Otherwise, the tests hang.