adding unique constraint failure test