Tests for stability in linear structural equation systems