adding object test
bugs fixed at StringChoiceOptimizer