units tests & error message