new exceptions and tests #issue 291
Merge pull request #570 from georgebyelas/master

new exceptions and tests #issue 291