Object creation test