adding test for finding the Java representation of the current engine in the Prolog side