added 'throws' clauses for readability
added 'throws' clauses for readability

previously try catch loops were used in test bodies. As tests are now
marked with throws, they are not necesary, reducing code size

piotrmaslanka/lnx2,piotrmaslanka/lnx2