Added a test for the new creation API.