Test on CollectionJsonAttribute and SingletonFactory