Added tests for default managers and reworked existing tests.
Fixed nullable FK remove()

Also, some cleanup & transaction control added.