If you deploy a database with a DACPAC Test-DSCConfiguration will still fail even after the database was created.