Added test for autocreate