dynamic object creation, testing with dynamic objects