BUG : fixed error message test

 - slightly improved documentation