enhance tests readability

enhance tests readability by using ExpectedException instead of try/catch blocks.
some brief explanation here : http://turhanoz.com/junit4-testing-exception/