Modified some unit tests and changed the Cascade type
Added delete Competition  and HasProject functionality