The IMC is a National Rating therefore it has nothing to do with EASA. If the CAA choose to put it on an EASA licence that is up to them, but it doesn't make it an EASA rating so the instructor can test you. It may not be advisable but it is not disallowed.