Reverted getFactTypes and improved mock implementation following discussion with porcelli