Improved output of tests in Test.java, and enabled negative tests with checking of thrown exceptions. Modified the test case where main was used as class name. This is not allowed atm, and is something that probably has to be fixed in the future. All tests are passing (pos and neg).