problems with test exit error