Add tests for available_translations dispatch.