added tests for storm foreign keys support on delete on cascade.
fixed some tests.
Merge pull request #105 from globaleaks/cleaning_tests_and_fixes

added tests for storm foreign keys support on delete on cascade.