Switching to expectedexception rule
Adding support for inheritance in testutils for getting and setting field values using reflection