added missing fail() assertions to make test fail when exception get accidently droped. fixes #364.
Fix CS
added __METHOD__ for exception messages, where method names are mentioned. fixed phpdocs. closes #353.