Fixed typo in inti in Bean. Added an incorrect test of infinite recursion when building classes