fixed delete method or rather the test for it :(