One-to-many deletion tests

Issue #13
- Fixed bug in one-to-many deletion algorithm;
- Created tests for one-to-many deletion;