added delete function and tests'
'
added feature tests