added delete test
added validation constraints