add test for DefaultInstantiator