add test for create with no attributes provided.