tests: Don't run srw tests if srw is disabled