JBIDE-17724 - mock modules must be marked as external