Added detection of missing classes directory

If a user has an IDE configured to create the .class file at other locations than $PWD/bin or $PWD/build/classes, the tests will fail, but no information is given to the user as to why.

This patches requires one of those directories to be present, and aborts the testing if they are missing.