remove obsolete test
adapt to more verbose error msgs