Set option to use custom managers for foreign keys
Tests added