Added rest of tests for delete dependency and added dependencies to models