Update InstanceUtils.java

Removed test main method.