file repository delete spec
added write test and removed spring
repository tests