try-catch substituted by @test(expected=InvalidSmilesException) in SmilesParserTest.java (= junior task 16).

Signed-off-by: John May <john.wilkinsonmay@gmail.com>