Handle special cases for subtyping test

Signed-off-by: Julien Pagès <julien.projet@gmail.com>