change reference to loadedClass and invoke the toString method.
and compare it with the assertEquals method. 

For other methods and fields, reflection is needed