delete functionality on form upload

also had install karma-jasmine ```npm install karma-jasmine``` to make it work.