Unit tests for wagtail admin chooser and embeds